package com.tw.modules.serviceImpl;

import com.tw.modules.entity.Notebook;
import com.tw.modules.dao.NotebookMapper;
import com.tw.modules.service.NotebookService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import java.util.Iterator;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author maxiaodong
 * @since 2018-04-05
 */
@Service
public class NotebookServiceImpl extends ServiceImpl<NotebookMapper, Notebook> implements NotebookService {

	@Autowired 
	NotebookMapper dao;

	@Override
	public int selectMaxID() {
		return dao.selectMaxID();
	}

	@Override
	public List<Notebook> selectAllNoteByPhone(long phone) {
		
		return dao.selectAllNoteByPhone(phone);
	}
	
	
}
